<?php
/**
 * <https://y.st./>
 * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'I have to wait to tell my mother ...',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2017/05/13.jpg" alt="Mismatched faucet knobs" class="framed-centred-image" width="800" height="480"/>
<section id="general">
	<h2>General news</h2>
	<p>
		What was I thinking lat night?
		Yesterday wasn&apos;t Saturday; today is!
		That said, tomorrow is a holiday.
		I don&apos;t care about holidays myself, but my mother does, and I don&apos;t want to ruin theirs.
		I&apos;ll probably try to visit them tomorrow, but I&apos;ll keep the name change to myself until later.
	</p>
	<p>
		My bike&apos;s tires have been getting flatter, and today, the bike was almost at the point of being unusable.
		The trip to Eugene can&apos;t&apos;ve helped with the situation.
		I need a bike pump.
		My bike is my main mode of transportation.
		I feel awkward begging the neighbour to lend me theirs again, and because theirs has no pressure gauge, I can&apos;t tell if I&apos;ve added enough air.
		I&apos;m sure I didn&apos;t add enough, and I suspect I actually let more air <strong>*out*</strong> of one of the tires than I put back into it.
		I can&apos;t keep watching for one in second-hand stores, not knowing when I&apos;ll find one, so I bought a new one at Fred Meyer after work.
		It&apos;s not exactly what I was hoping for; it&apos;s got one of those clamp-on valves.
		At least it has an actual pressure gauge on it though.
		It wasn&apos;t as expensive as I thought it&apos;d be, either.
	</p>
	<p>
		The PB&amp;J Pup&apos;s been removed from Minetest.
		It&apos;s a little disappointing, but I&apos;m not too concerned about it; it&apos;s served it&apos;s most important role already: the ousting of the Nyan Cat.
		With that wart removed, the game has one less reason it might get its developers sued.
		Plus, there&apos;s the principle of the matter: the Nyan Cat is nonfree and never should&apos;ve been introduced into a free game.
		Additionally, it seems tin&apos;s been added into the game as a minable mineral; it replaces iron in the recipe for bronze.
		Yay!
		The concept of bronze was taken from the <code>moreores</code> mod, whch uses copper and tin to make bronze.
		However, the person that jacked most of the ores from that mod to put into <code>default</code> decided tin wasn&apos;t necessary.
		They figured there were enough ores, and used copper and <strong>*steel*</strong> to make bronze.
		As someone that values iron as the most valuable mineral of the game, I was less than excited to hear that the new bronze, which could only be made into disposable tools, now required iron consumption to make.
		That&apos;s been fixed now though, which is fantastic.
		I never thought it would be!
	</p>
	<p>
		Having gotten a fair amount of coursework done for the day, I worked on my <a href="https://forum.minetest.net./viewtopic.php?t=17599"><code>minestats</code></a> mod some more.
		I completely scrapped the original code I had and gone for something simpler, yet more flexible.
		It doesn&apos;t do much besides track the amount of each mineral that&apos;s been dug.
		However, it&apos;s now dynamic in how it track dug minerals.
		In fact, no mineral is hard-coded into the mod!
		It comes at the cost of not being able to track coral-mining any more, but any mod that has its minable minerals defined similarly to those in <code>default</code> will automatically have the minerals mined by players tracked.
		Frustrated, I realised someone could install a tonne of mineral-defining mods, so I&apos;ve also coded paging support.
		No mater how many ores are added (at least within reason), all can be displayed in the player menu.
		The only real limit would be the fact that Lua lacks an integer data type and doubles lose precision after going so high.
		Keep the number of minerals defined under fifteen digits and it should be fine.
	</p>
	<p>
		My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
	</p>
</section>
<section id="university">
	<h2>University life</h2>
	<p>
		I wrote up my initial discussion post for the week:
	</p>
	<blockquote>
		<p>
			When Rome conquered Greece, they enslaved the Greeks.
			Then they made many of the educated Greeks teach the Roman children.
			That seems like such a foolish decision, to me!
			The role of an educator is a powerful one, able to mould the minds of the people, especially the young.
			By having their Greek slaves educate their young, they allowed those slaves to decide the future of the nation.
			Instead of Roman thoughts and ideals being passed down, Greek ones were, which resulted in Romes manners and morals becoming more Greek.
			Rome&apos;s religion became mostly the Greek religion with the names changed to Roman ones.
			Some religion concepts were taken from places such as Asia, but for the most part, the Greek deities and stories were adopted.
			The Romans also learned how to write better from the Greeks.
			Before coming in contact with the Greeks, the Romans had written language, but not much by way of creative writing.
			Creative writing wasn&apos;t the only art learned from the Greeks, either.
			Visual art, such as sculpture, was also passed down from the Greeks to the Romans.
			The Romans weren&apos;t as good as producing original works like the Greeks, but they came to appreciate Greek art, imitating and preserving it.
			Roman philosophers also took Greek ideas intentionally; it wasn&apos;t a side effect of using Greek slaves as teachers.
			They studied Greek philosophy and made incorporated its ideas into their own.
		</p>
	</blockquote>
</section>
END
);
